<?php
include ("../common/pdata_mysql.php");
$conn = mysql_pconnect($hostname_pdata,$username_pdata,$password_pdata);
mysql_select_db($database_pdata);
$post=	$_REQUEST["post"];
$sql = "select * from zjinfo where postID=".$post;
$rs = mysql_query($sql,$conn) or die(mysql_error());
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
while($row = mysql_fetch_array($rs))
{
 echo "<title>".$row['conname']."</title>"; ?>
<link href="zjcss/tlayout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
.footer {
	width: 100%;
	font-size: 12px;
	text-align: center;
}
</style>
<link href="zjcss/lLayout.css" rel="stylesheet" type="text/css" />
<link href="zjcss/rLayout.css" rel="stylesheet" type="text/css" />
<link href="/css/allstyle.css" rel="stylesheet" type="text/css" />
</head>

<body>
<section id="header">
  <?php require("../common/header.php") ?>
</section>
<div id="wrap">
    <p>所有信息均来源于公开网络，并聚合而来。</p>
  <!--左侧内容开始-->
  <div id="body">
    <div id="lefthand"> 
      <!-- content start -->
      
      <div class="perContent" id="post-<?php echo $row['postID']; ?>">
        <div class="content">
          <div class="contitle "> <span class="conname">
            <?php if($row['top'])
		   echo "[置顶]";
		  echo $row['conname'];
	  ?>
            </span><span class="contime"> <?php echo $row['contime']; ?> </span> </div>
          <div class="contop">
            <li class="contype">分类：造价</li>
            <li class="condepart">发布部门： <?php echo $row['condepart']; ?> </li>
            <li class="consourse">信息来源：<a href="<?php echo $row['consourse'].$row['conaddr']; ?>" target="_blank"> <?php echo $row['consourse']; ?> </a></li>
          </div>
          <div class="conall">
            <div class="conpic omit"><img width="160" height="200"  /></div>
            <div class="condisplay"> <?php echo $row['condisplay']; ?> </div>
            <div class="conmore"> <?php echo $row['conmore']; ?> </div>
          </div>
          <div class="conbottom">
            <li class="conpsubmit">提交人： <?php echo $row['conpsubmit']; ?> </li>
            <li class="conptime">提交时间： <?php echo $row['conptime']; ?> </li>
          </div>
          <div class="clean"></div>
        </div>
      </div>
      <?php 
 echo "<!-- post-".$row['postID']." end -->";



}	?>
      <!-- content end -->
      <div class="clean"></div>
    </div>
    
    <!--右侧内容开始-->
    <div id="righthand"> 
      <?php require("right.php") ?>
      
    </div>
    
    <!--右侧内容结束-->
    <div class="clean"></div>
  </div>
</div>
<div id="totop" class=""><a href="#" target="_top"><img src="/pic/backToTop.png" width="40" height="40" /></a></div>

<section id="footer">
  <?php require("../common/footer.php") ?>
</section>
